package com.sanadc.shohdi;

import javax.swing.JFrame;


public class FontPropertiesFrame extends SampleTextFrame
{
	public static void main(String[] args)
	{
		FontPropertiesFrame fpf = new FontPropertiesFrame();
		fpf.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		fpf.setVisible(true);
		
	}
	
	
	public FontPropertiesFrame ()
	{
		super();
		FontPropertiesPanel fontPanel = (FontPropertiesPanel)propertiesPanel;
		displayArea.setFont(fontPanel.getSelectedFont());
		fontPanel.setFontListner(this);
		
	}
	
	
	protected void createComponents()
	{
		propertiesPanel = new FontPropertiesPanel();
		super.createComponents();
	}
	
	
}